package com.ucl.common.exception;

public class CheckException extends Exception {

    private Integer code;

    public CheckException() {
        super();
    }

    public CheckException(Integer code, String message) {
        super(message);
        this.code = code;
    }
    public CheckException(Throwable cause) {
        super(cause);
    }
    public CheckException(String message, Throwable cause) {
        super(message, cause);
    }

    public Integer getCode() {
        return code;
    }
}
